<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Xppass Administrator's Control Panel</title>
<LINK href="<?php echo $www_site_url?>/public/yav-style.css" type=text/css rel=stylesheet>
<script src="<?php echo $www_site_url?>/public/js/common.js" type="text/javascript"></script>
<script src="<?php echo $www_site_url?>/public/js/ajax.js" type="text/javascript"></script>

<script>
function checkOnSubmit(formName) {
  	return true;
	var url = "<?php echo $www_site_url?>/admin.php";
	var params = mini.form.serialize($(formName));
	
	mini.ajax.post(url, function(r){

		var r = eval('(' + r + ')');   

		if(r.s==200){
			$('msg').innerHTML = r.m;	
		}
		if(r.s==400){
			$('msg').innerHTML = r.m;			
		}
	}, params);
	return false;
}
</script>
</head>
<body>
<div id="append"></div>
<div id="msg" style="color:red;text-align:center"></div>
<div class="container">
	<div class="backBtn"><a href="/admin.php/index/bestshopper"><?php echo lang('goback')?></a></div>
	<div class="hastabmenu">
		<ul class="tabmenu">
			<li id="addcorporationbtn" class="tabcurrent"><a href="#"><?php echo lang('add')?> / <?php echo lang('edit')?></a></li>	
		</ul>
		<div id="addcorporationdiv" class="tabcontentcur" style="width:80%">
			<form id="editbestshopper" name="editbestshopper" enctype="multipart/form-data" action="<?php echo $www_site_url?>/admin.php" method="post" onsubmit="return checkOnSubmit('editbestshopper');" >
			<input type="hidden" name="action" value="index">
			<input type="hidden" name="op" value="addbestshopper">
			<input type="hidden" name="rec_id" value="<?php echo $info['rec_id']?>">
		
			<table width="100%">
				<tr>
					<td width="10%"><?php echo lang('month')?>:</td>
					<td><input type="text" name="month" class="textfield" value="<?php echo $info['rec_month']?>"/> 201005</td>
				</tr>	
				<tr> 
					<td width="10%"><?php echo lang('score')?>:</td>
					<td><input type="text" name="score" class="textfield" value="<?php echo $info['rec_score']?>"/> 10/8/6</td>
				</tr>
				<tr> 
					<td width="10%"><?php echo lang('username')?>:</td>
					<td><textarea rows="10" cols="30" name="user_name" class="textfield" ><?php echo $info['user_name']?></textarea>
				</tr>					
										
				<tr>
				
					<td colspan="2"><input type="submit" value="<?php echo lang('submit')?>" class="button"/></td>
				</tr>
			</table>
			</form>

		</div>
	</div>
</div>

</body>
</html>